package com.yiqiu.common.core.exception;

/**
 * @author weiyi
 */
public class ServiceException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    /**
     * 错误码
     */
    private int code;
    /**
     * 错误提示
     */
    private String msg;


   public ServiceException() {
   }
   public ServiceException(int code, String msg) {
       this.code = code;
       this.msg = msg;
   }
   public ServiceException(String msg) {
       this.msg = msg;
   }
}
